package com.tdkj.model.website;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.tdkj.model.base.BaseEntity;

/**
 * XnkyWordsFilter entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "website_words_filter")
public class BeanKeywordsFilter extends BaseEntity{

	// Fields
	private String word;
	private Timestamp createtime;

	// Constructors

	/** default constructor */
	public BeanKeywordsFilter() {
	}

	/** minimal constructor */
	public BeanKeywordsFilter(long  id) {
		this.setId(id);
	}

	/** full constructor */
	public BeanKeywordsFilter(long id,String word, Timestamp createtime) {
		this.setId(id);
		this.word = word;
		this.createtime = createtime;
	}

	@Column(name = "word", length = 40)
	public String getWord() {
		return this.word;
	}

	public void setWord(String word) {
		this.word = word;
	}

	@Column(name = "createtime", length = 19)
	public Timestamp getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}

}